package org.example.carsystem.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysDictType implements Serializable {
    /**字典主键*/
    private Long dictId;
    /**字典名称*/
    private String dictName;
    /**字典类型*/
    private String dictType;
    /**状态（0正常 1停用）*/
    private String status;
    /**创建者*/
    private String createBy;
    /**创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**更新者*/
    private String updateBy;
    /**更新时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    /**备注*/
    private String remark;


    @TableField(exist = false)
    private Date t1;
    @TableField(exist = false)
    private Date t2;


}
